FROM node:latest

MAINTAINER Alex Zhao <git@zhaochunqi.com>

LABEL version="1.0"

LABEL description="node PPT 开发环境"

RUN npm install -g nodeppt && apt-get update \
        && apt-get install -y \
        supervisor \
        --no-install-recommends \
        && rm -rf /var/lib/apt/lists/*

COPY supervisord.conf /etc/supervisord.conf

VOLUME ["/tmp/ppt"]

EXPOSE 8080

CMD ["/usr/bin/supervisord"]
